package com.itbac;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.ApplicationContext;

/**
 * 会员服务
 *
 * @author: BacHe
 * @email: 1218585258@qq.com
 * @Date: 2020/9/6 21:37
 */
@SpringBootApplication
@RefreshScope //配置中心支持刷新，nacos配置中心
@EnableDiscoveryClient
public class MemberSpringBoot {
    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(MemberSpringBoot.class, args);

    }
}
